package com.fmdj.mis.api.service.Impl;

import com.fmdj.mis.api.db.dao.PermissionDao;
import com.fmdj.mis.api.service.PermissionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;

@Service
public class PermissionServiceImpl implements PermissionService {
    @Autowired
    private PermissionDao permissionDao;

    @Override
    public ArrayList<HashMap> selectUserPermissions() {
        return permissionDao.searchAllPermission();
    }
}
